home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 25 / CU Amiga Magazine's Super CD-ROM 25 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-08].iso / CUCD / Programming / ixemul / sdk / man / cat3 / modf.0 < prev    next >
Encoding:
Text File  |  1998-06-15  |  1.0 KB  |  29 lines

  1.  
  2. MODF(3)                    UNIX Programmer's Manual                    MODF(3)
  3.  
  4. NNAAMMEE
  5.      mmooddff - extract signed integral and fractional values from floating-point
  6.      number
  7.  
  8. SSYYNNOOPPSSIISS
  9.      ##iinncclluuddee <<mmaatthh..hh>>
  10.  
  11.      _d_o_u_b_l_e
  12.      mmooddff(_d_o_u_b_l_e _v_a_l_u_e, _d_o_u_b_l_e _*_i_p_t_r)
  13.  
  14. DDEESSCCRRIIPPTTIIOONN
  15.      The mmooddff() function breaks the argument _v_a_l_u_e into integral and fraction-
  16.      al parts, each of which has the same sign as the argument.  It stores the
  17.      integral part as a _d_o_u_b_l_e in the object pointed to by _i_p_t_r.
  18.  
  19. RREETTUURRNN VVAALLUUEESS
  20.      The mmooddff() function returns the signed fractional part of _v_a_l_u_e.
  21.  
  22. SSEEEE AALLSSOO
  23.      frexp(3),  ldexp(3),  math(3)
  24.  
  25. SSTTAANNDDAARRDDSS
  26.      The mmooddff() function conforms to ANSI C3.159-1989 (``ANSI C'').
  27.  
  28. BSD Experimental                 June 4, 1993                                1
  29.